package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 错误码枚举
 *
 * @Author: scootXin
 * @Date: 2018/11/29 17:47
 */
public enum EErrorCode implements PEnum<Integer> {
    networkTimeout(-1, "超时"),
    //成功标志
    success(0, "成功"),
    //参数及数据错误
    missingArg(100, "缺少参数" ),
    nullData(125,"对象数据为空"),
    argCheckErr(101, "验参失败"),
    noData(102, "数据错误"),
    dataParseError(103, "数据转换错误"),
    beUsed(104, "已被使用"),
    skip(105, "因某些原因跳过操作"),
    repeat(106, "重复操作"),
    versionError(107, "版本已改变，请重新获取数据"),
    sysError(108, "系统错误"),
    signError(109, "验签失败"),
    dataCheckErr(110, "数据检测错误"),
    unData(111, "未获取到数据"),
    exceedLimit(112, "验证码获取已超出今日限制"),
    smsCodeError(113, "请重新获取验证码"),
    userFieldError(114, "缺失用户信息"),
    smsSendError(115, "短信发送失败"),
    unRegisterError(116, "暂不支持个人注册"),
    unLoginError(117, "账号或密码错误,请重新登录"),
    noGpsError(118, "GPS纠错失败"),
    userExistError(119, "用户已存在，不可重复添加"),
    DriverClearFeild(99, "司机提现限制清除失败"),
    bankCardPhoneFaild(120, "银行卡预留手机号必须与平台所绑定手机号一致"),
    updatePhoneFiled(121, "您本月已超过可修改次数，修改次数每月1号更新"),
    phoneRegister(122, "此手机号已经注册"),
    updateHeadFiled(123, "更换头像遇到问题，请重新尝试"),
    messageReadFiled(124, "已读消息失败"),
    updateHeadLong(125, "请上传文件大小在1M以内的头像"),
    errorIcCard(126, "身份证错误"),
    errorPhone(127, "手机号错误"),
    errorCarNo(128, "车牌号错误"),
    errorDriverName(129, "姓名格式错误"),
    errorSex(130, "性别格式错误"),
    dataException(188, "数据异常,请联系客服处理!"),
    missBankCardNumber(190, "请输入银行卡号码"),
    // 后台
    verifCodeError(120, "验证码错误"),
    verifCodeFailError(121, "登录失败，请重新获取验证码"),
    intOrderError(122, "接单中不能修改手机号"),
    verifCodeNotHas(123, "验证码已过期,请重新获取"),
    dateFormatErr(124, "时间范围请至少选择24小时(1天)"),
    driverNotOnline(125, "该司机未在线或未在查询范围"),
    NotOneDriverOnline(191,"暂无司机在线"),

    //权限错误
    authErr(200, "权限错误"),
    missingAuthArgs(201, "请求头缺少权限参数"),
    authDecodeError(202, "权限参数转码错误"),
    noAuth(203, "无授权"),
    authDenied(204, "拒绝访问"),
    authIdentityErr(205, "身份验证失败"),
    gatewayDeny(206, "请求失败，请稍后再试!"),
    tokenErr(207, "token格式错误"),
    tokenExpire(208, "token过期"),
    userInforExpire(209, "用户信息已过期,请重新登陆"),
    NO_SECRET_KEY(210, "缺少验签秘钥"),
    NO_SIGN(211, "签名未空"),
    passwordValidationError(212, "密码验证失败"),
    currentSysUserNoDataError(213, "当前用户暂无数据权限"),
    permissionsErr(214, "请使用最高权限账号"),
    arriveReservationErr(215, "您未达到预约地点附近"),
    loginErr(216, "账号已停用，请重新启用"),
    //http通用错误
    apiErr(300, "第三方api通用错误"),
    apiArgErr(301, "第三方api参数错误"),
    apiRstError(302, "第三方api返回状态错误"),
    c400(400, "参数错误"),
    c401(401, "权限错误"),
    c403(403, "拒绝访问"),
    c404(404, "页面不存在"),
    c500(500, "服务器错误"),
    noHandlerError(501, "无处理器错误"),
    paymentErr(800, "支付错误"),
    paymentStatusErr(801, "支付状态错误"),
    userDetailMissingErr(900, "缺失用户明细信息"),
    missWechat(901, "微信数据未绑定"),
    missPhone(902, "电话未绑定"),
    addError(903, "添加失败"),
    unkown(-1, "未知错误"),
    addRedis(904, "ReidsKey添加失败"),
    deleteRedis(905, "停止接单失败"),
    waitApply(906, "请等待审核通过后登陆"),
    clearRedis(907, "清除redis缓存失败!"),
    userInfoError(908, "用户信息错误,请求重新登陆!"),
    vehicleIsExits(909, "该品牌已存在！"),
    // 支付
    paySuccess(1000, "支付成功"),
    insufficientSpace(1001, "余额不足"),
    payFailure(1002, "支付失败"),
    payFailureLimit(1003, "额度支付失败"),
    unLimit(1002, "未开启额度"),
    deficiencyLimit(1003, "额度不足"),
    unOrderNo(1100, "非法的订单号"),
    unWallet(1101, "未获取到用户钱包"),
    isNull(1102, "钱数未null"),
    orderFailure(1103, "更新订单失败"),
    orderNotCompleted(1104, "您有未完成订单,请稍后!"),
    unUnpaidOrder(1105, "此订单不是待支付订单"),
    unOrder(1106, "未知订单号"),
    unPaymentType(1200, "未知支付类型"),
    unWeChat(1300, "微信支付施工中"),
    unAlipay(1301, "支付宝支付施工中"),
    unPayType(1302, "非法支付类型"),
    unDriverWallet(1303, "未获取到司机钱包"),
    updateDriverWalletFailure(1304, "更新司机钱包失败"),
    insertDriverWalletRecordFailure(1305, "插入司机钱包记录失败"),
    notMoney(1306, "请填写正确的金额"),
    notRechargeLimit(1307, "单次充值不可超过10万"),
    confirmStrokeSuccess(1308, "确认行程成功"),
    BANK_CARD_CHECK_FILED(1310, "银行卡效验失败，请检查您的录入"),
    DC_BIND(1311, "抱歉，平台仅支持DC储蓄卡绑定"),
    NOT_BANK_FILED(1312, "抱歉，暂不支持绑定此开户行类型储蓄卡"),
    BANK_CARD_CHECK_SERVER_FILED(1313, "银行卡效验服务错误，请重新尝试"),
    BANK_CARD_CHECK_ATYPISM(1314, "银行卡与您的姓名以及身份证信息不匹配"),
    BANK_CARD_CHECK_UNCERTIFIED(1315, "您的银行卡信息未认证"),
    BANK_CARD_CHECK_CANCELLED(1316, "此卡已注销"),
    NOT_FOUND_BANK_CODE(1317, "未发现银行编码信息"),
    INVALID_ID_NUMBER(1318, "银行卡号与本人信息不一致"),
    GET_PAY_INFO_ERROR(1319, "获取支付信息异常"),
    // 申请额度
    applyAmountSuccess(2000, "申请提交成功"),
    applyAmountFailure(2001, "申请提交失败"),
    unOffice(2002, "未获取用户部门"),
    unOfficeApply(2003, "当前部门没有配置模板"),
    unApprovalTempChild(2004, "未配置子审批模板"),
    unApprovalType(2005, "非法提额状态"),
    repeatedSubmit(2006, "重复提交"),
    applyAmountPass(2007, "通过"),
    applyAmountReject(2008, "驳回"),
    applyAmountOperateFailure(2009, "操作失败"),
    statusNotFound(2010, "订单状态没有匹配"),
    // 钱包
    updateWalletSuccess(3000, "修改成功"),
    unWalletRecordType(3001, "未知明细类型"),
    unDriverVehicle(3002, "未获取到司机车辆信息"),
    unDetails(3003, "未获取到详情"),
    updateWalletFailure(3004, "修改失败"),
    rechargeSuccess(3005, "充值成功"),
    rechargeFailure(3006, "充值失败"),
    unCashWithdrawalInfo(3007, "Sorry~~~ 未发现此提现记录"),
    unWalletInfo(3008, "Sorry~~~ 未发现您的钱包信息"),
    unBillInfo(3009, "Sorry~~~ 未发现您的账单信息"),
    unDriverInfo(3009, "Sorry~~~ 未发现您的姓名和身份信息"),
    walletException(3010, "钱包异常，请稍等重试，若依然存在异常请联系客服"),
    walletExistTwo(3011, "数据异常，请您立刻联系客服解决您的问题"),
    notFoundYourName(3012, "未发现您的姓名信息"),
    notFoundYourIdentity(3013, "未发现您的身份证号信息"),
    notFoundYourBankCardNumber(3014, "未发现您的银行卡号"),
    todayDontCashWithdrawal(3015, "您已超过每日提现次数，提现将不发起"),
    cashWithdrawalAmountErr(3016, "可提现金额异常"),
    cashWithdrawalAmountGTAmount(3017, "提现金额不可大于可提现金额"),
    bindBankCardCheckField(3018, "银行卡数量检查失败"),
    notFoundBehalfPayInfo(3019, "未发现您的垫付信息"),
    bindField(3020, "银行卡绑定失败，请重新尝试"),
    unBankCard(3020, "Sorry~~~ 未发现您的银行卡绑定信息"),
    existBankCard(3021, "检查到您已绑定此银行卡，请勿重复绑定"),
    bankCardFiled(3022, "银行卡号不存在，请检查输入是否有误"),
    cashWithdrawalAmountLtOne(2023, "抱歉，每次提现金额规定不得小于1元"),
    unKnowCashWithdrawalConfig(2024, "抱歉，未发现您的提现规则信息"),
    logonErr(2025, "您的账户存在问题,请及时联系管理员修复"),
    cashWithdrawalConfigFiled(2026, "超过当日提现限额"),
    notFoundBankCard(2027, "您还没有绑定银行卡，还不能提现"),
    billTypeErr(2028, "账单类型获取失败，请重新尝试"),
    unKnowParams(2029, "传参错误，请检查参数是否正确"),
    bankCardBindFiled(2030, "抱歉，银行卡绑定失败，请重新尝试"),
    notFoundDriverInfo(2031, "抱歉，未发现您的司机信息"),
    dontGetImage(2032, "抱歉，无法获取到您的银行图标信息"),
    cityNotFoundCashConfig(2033, "您的注册城市暂不支持提现"),
    unKnowStartConfig(2034, "抱歉，未发现您的起步规则信息"),
    bridgeError(2035, "上限错误"),
    weekWithdrawalError(2036, "每周一和周四可提现"),
    cityNotFound(2037, "未发现您的注册城市信息"),
    cashFiled(2038, "提现失败，请重新发起"),
    cashError(2039, "提现记录保存异常"),
    clickCashErr(2040, "提现重复请求"),
    logonSealUp(2041, "您的钱包账户已被封停，暂时无法使用"),
    // 评价
    evaluationSuccess(4000, "评论提交成功"),
    evaluationFailure(4001, "评价提交失败"),
    updateOrderFailure(4002, "更新订单失败"),
    isCarpool(4003, "该订单已经评论过了"),
    unDUserInfo(4004, "未获取司机信息"),
    customerEvaluateFail(4005, "用户评价司机失败"),

    // 审批流相关
    noApproval(5000, "当前用户部门暂无审批配置"),
    noApprovalNode(5001, "未获取到审批流信息"),
    approvalInfo(5003, "审批信息异常"),
    approvalComplete(5010, "当前审批已完成"),
    //订单相关
    orderPresence(5004, "您已存在待支付订单"),
    orderNoGPSInfo(5005, "当前订单没有行驶轨迹"),
    predictedTrajectory(5006, "预估轨迹查询失败"),
    orderTrajectory(5007, "订单轨迹查询失败"),
    // 打卡
    commutSuccess(6000, "打卡成功"),
    commutFailure(6001, "打卡失败"),
    commutOffWork(6001, "请打卡下班"),
    notPunch(6002, "请先停止接单"),
    pleaseCommut(6004, "请打卡"),
    // 后台分配额度
    distributionAmountSuccess(7000, "分配成功"),
    distributionAmountFailure(7001, "分配失败"),
    undistributionAmount(7002, "当前部门未分配额度"),
    unSysUserOffice(7003, "未获取到当前管理的部门"),
    officeAmountLack(7004, "部门额度不够"),
    unClickOffice(7005, "未获取到部门"),
    unAmount(7006, "请填写正确的额度"),
    notAmountNegative(7007, "请填写正数额度"),
    // 价格模板
    notLimitedInteger(7008, "抽成比例,请输入0-100整数"),
    timeOutAwaitFee(7009, "超出多少时间收取等待费,请输入正整数"),
    greaterKilometreEmptyDriving(7010, "大于多少公里收取空驶费,请输入正整数"),
    distanceKm(7011, "大于多少公里收取远途费,请输入正整数"),
    startFee(7012, "基础价,请输入正确金额"),
    reservationStartFee(7013, "预约基础价,请输入正确金额"),
    mileageFee(7014, "里程费,请输入正确金额"),
    timeFee(7015, "时长费,请输入正确金额"),
    distanceFee(7016, "远途费,请输入正确金额"),
    serviceFee(7017, "服务费,请输入正确金额"),
    awaitFee(7018, "等待费,请输入正确金额"),
    emptyDrivingProportion(7019, "收取空驶费比例,请输入正确比例"),
    selectCars(7020, "请选择车系"),
    specialGreaterKilometreEmptyDriving(7021, "特殊时段大于多少公里收取空驶费,请输入正整数"),
    specialTimeOutAwaitFee(7022, "特殊时段超出多少时间收取等待费,请输入正整数"),
    specialEmptyDrivingProportion(7023, "特殊时段收取空驶费比例,请输入正确比例"),
    specialMileageFee(7024, "特殊时段里程费,请输入正确金额"),
    specialTimeFee(7025, "特殊时段时长费,请输入正确金额"),
    specialDistanceFee(7026, "特殊时段远途费,请输入正确金额"),
    specialServiceFee(7027, "特殊时段服务费,请输入正确金额"),
    specialAwaitFee(7028, "特殊时段等待费,请输入正确金额"),
    specialTime(7029, "请检查特殊时段时间段"),
    highSpeedFee(7030, "高速费,请输入正确金额"),
    tollFee(7031, "路桥费,请输入正确金额"),
    parkFee(7032, "停车费,请输入正确金额"),
    startTime(7033, "起步时长,请输入正整数"),
    specialStartFee(7034, "特殊时段起步价,请输入正确金额"),
    specialStartFeeMileage(7035, "特殊时段起步价时长,请输入正确金额"),
    specialStartFeeTime(7036, "特殊时段起步价里程,请输入正确金额"),
    // 车型和车系
    vehicleBrandSuccess(8000, "修改车系关联成功"),
    unableDelete(8001, "正在使用，不能删除"),
    updateSuccess(8002, "编辑成功"),
    deleteSuccess(8003, "删除成功"),
    unableDelteCode(8004, "正在使用，不能修改车系编码"),
    valueSame(8005, "同一类型数据值不能相同"),
    mainHead(8006, "请选择主负责人"),
    mainType(8007, "请选择类型"),
    usedSelectCars(8008, "请选择未使用的车系"),
    // 分配车辆
    assignVehicleSuccess(9000, "分配车辆成功"),
    assignVehicleFailure(9001, "分配车辆失败"),
    assignVehicleRepeat(9002, "已经分配过车辆了"),
    cancelAssignVehicleSuccess(9003, "取消成功"),
    cancelAssignVehicleFailure(9004, "取消失败"),
    unCancelAssignVehicle(9005, "未分配车辆"),
    privateUse(9006, "正在使用私用行程"),
    atWork(9007, "司机正在上班，分配失败"),
    receivingOrder(9008, "司机正在接单，分配失败"),
    withoutTheCar(9010, "无此车辆，请检查输入信息"),
    receivingOrderCar(9011, "司机正在接单，解绑失败"),
    // 价格模板
    priceRepeat(9007, "该地区及公司已有模板"),
    // 导入导出
    impSuccess(9100, "导入成功"),
    impNull(9101, "文件中姓名、手机号、身份证号、性别、司机城市不能为空"),
    impDriverTransAmountNull(9126, "文件中账户金额不能为空"),
    impDriverAccountError(9127, "文件中银行账号异常"),
    impRepeatPhone(9102, "文件中手机号重复"),
    impFailure(9103, "导入失败"),
    impDBRepeatPhone(9104, "以下手机号不可重复录入"),
    unOfficeCode(9105, "请认真核对以下部门编码"),
    ORDER_END(9106, "订单已完结"),
    CancelOrderStatus(9107, "已在行程中"),
    CancelOrder(9108, "您已取消过订单"),
    unopenedCity(9109, "当前选择城市未开通!"),
    OrderNotExist(9110, "订单不存在!"),
    impVehicleNull(9111, "文件中车牌号、车身颜色、车辆城市不能为空"),
    impDriverInfoNull(9126, "文件中司机姓名、身份证不能为空"),
    impDriverInfoError(9126, "文件中身份证号码有误"),
    impDriverAccountNull(9127, "文件中招行账户、代发人和代发账户不能都为空"),
    nullColor(9111, "文件中车身颜色未收录,请核对字典表"),
    impRepeatVeh(9112, "文件中车牌号重复"),
    impDBRepeatVehNo(9113, "以下车牌号不可重复录入"),
    impRepeatVehFrame(9114, "文件中车架号重复"),
    impRepeatIDENTITY(9115, "文件中身份证号重复"),
    impDBRepeatVehFrame(9115, "以下车架号不可重复录入"),
    impDBRepeatIDENTITY(9116, "以下身份证号不可重复录入"),
    cancelOrderStatusError(9117, "当前状态不允许取消订单!"),
    formatVehframe(9118, "文件中车架号未检验通过"),
    formatEngine(9119, "文件中发动机号未检验通过"),
    formatPhone(9120, "文件中手机号未检验通过"),
    formatVehNo(9121, "文件中车牌号未检验通过"),
    formatIdentity(9121, "文件中身份证号未检验通过"),
    formatCityName(9123, "文件中司机城市未检验通过"),
    formatVehCityName(9124, "文件中车辆城市未检验通过"),
    carModelNotExist(9125, "车辆品牌或车型不错"),
    carModelError(9125, "表格中车型错误"),
    noVehicleError(9126, "暂无该车辆信息"),
    // 收藏地址
    addressCollectSuccess(9200, "保存地点成功"),
    addressCollectFailure(9201, "保存地点失败"),
    addressDeleteSuccess(9202, "删除地点成功"),
    addressDeleteFailure(9203, "删除地点失败"),
    updateDriverStatusFailure(9204, "更新司机状态失败"),
    currentOrderStatusCannotContinue(9205, "当前订单已完结无法继续!"),
    insufficientPersonalQuota(9206, "个人额度不足,请申请提额!"),
    currentOrderCancelled(9207, "当前订单已被取消,无法继续操作!"),
    currentOrderIsPay(9208, "当前订单已支付,无法继续操作!"),
    cancelOrderNumber(9209, "当日取消已达到上限,不能再取消订单!"),
    cancelOrderNum(9210, "暂时不支持取消行程,如有需要,请联系客服关单"),
    // 极光推送
    jPushSendError(10001, "极光推送服务间调用失败"),
    jPushSendType(10002, "未获取到推送类型"),
    isDuringTrip(10003, "您有进行中的订单!"),
    gpsError(10004, "校验轨迹失败!"),
    // 邀约拼车
    registeredFailure(11000, "注册失败"),
    individualOfficleIdIsNull(11001, "未配置游客部门"),
    repeatPhone(11002, "手机号重复"),
    oaSysGlobalConfigIsNull(11003, "全局配置中未获取到数据"),
    generateDriverOrderError(11004, "生成司机订单失败!"),
    noOpen(11005, "当前城市未开通"),
    existedInvitationOrder(11006, "当前订单存在邀约订单"),
    notAcquiredInvitationPeopleOrder(11007, "未获取到邀约人订单"),
    updateInviteCarpoolOrderSuccess(11008, "订单修改成功"),
    notInviteCarpoolOrder(11009, "此订单不是邀约类型订单"),
    unInviteCarpoolOrder(11010, "未获取到邀约订单"),
    updateInviteCarpoolOrderFailure(11011, "订单修改失败"),
    noDataCarpoolSerialNo(11012, "为获取到该流水号数据!"),
    currentInviteStatusNotSupport(11013, "当前邀约状态不支持当前操作!"),
    notAcquiredRoutePlanInfo(11014, "未获取到路径规划信息!"),
    //司机账户调整相关
    driverAccountAdjustmentFailed(12001, "司机账户调整失败"),
    driverAccountModificationReviewStatusFailed(12002, "司机账户修改审核状态失败"),
    driverAccountAdjustmentDriverFailed(12001, "司机账户调整失败,司机账号与姓名不匹配"),
    //司机相关
    driverIsBlacklist(12500,"该司机被拉入黑名单"),
    // 提现规则
    existCashWithdrawalConfigInCity(13001, "该城市已有规则"),
    notCityIncashWithdrawalConfig(13002, "请选择城市"),
    notConfigured(13003, "请先配置提现规则"),
    notGreenCode(13004, "杭州交通运管提醒：你未申领健康码或健康码非绿码状态，须获得杭州健康码绿码后方能上岗服务"),
    // TODO 测试更改这个错误码以后删除
    notGreenCodes(13005, "杭州交通运管提醒：你未申领健康码或健康码非绿码状态，须获得杭州健康码绿码后方能上岗服务"),
    // 消息,
    notFoundActivity(14000, "暂无活动"),
    inspectionAmount(14001, "请检验输入金额!"),
    penaltyDetailDone(20000, "司机违规行为已经处罚!"),
    penaltyOrderNone(20001, "此订单不存在!"),
    punishmentNone(20002, "无此封冻记录!"),
    // H5审核入驻验证
    idCardRepeat(15001, "此身份证号已经注册"),
    vehNoRepeat(15002, "此车牌号已经注册"),
    iphoneAudit(15003, "此手机号正在审核"),
    idCardAudit(15004, "此身份号正在审核"),
    vehNoCardAudit(15005, "此车牌号正在审核"),


    orderCreateFail(15101, "订单创建失败"),

    throwOrderNoManager(16001, "无供应商，转派失败"),
    disOrderStatuError(16002, "状态错误，无法指派"),
    throwOrderStatuError(16002, "状态错误，无法转派"),
    throwOrderOwnerError(16003, "无效订单，改派失败"),
    robErrorForAgain(16004, "无法重获已改派订单"),
    robErrorForClash(16005, "该时段内已有预约行程"),
    robErrorForWallet(16006, "账户余额不足"),
    startTripError(16007, "预约时间前2小时内方可开始行程"),
    throwHallError(16008, "甩单数据错误"),
    throwHallStatusError(16009, "当前无法甩单"),
    throwHallTimeError(16010, "预约时间2小时前方可甩单"),
    startTrapStatusError(16011, "正在行程中，无法开始新的行程"),
    doubleOrderError(16014, "抢单失败-您已存在1小时内的订单"),
    driverOfficeDifferenceError(13016, "抢单失败-所属供应商不一致"),

    infoIsNull(17001, "暂无数据"),
    throwOrderNoDriverLv(17002, "订单指派等级不匹配"),
    parentIsNull(17003, "暂无父级信息"),
    supplierUserIsNull(17004, "未获取到供应商用户信息"),
    supplierIsNull(17005, "未获取到供应商信息"),
    dataNoIsOne(17006, "当前数据不唯一,数据有误"),

    alipayNoBind(17007, "未绑定支付宝"),
    platformNoWithdrawal(17008, "平台每周二开发支付宝提现申请,当前暂时无法进行"),
    platformNoWithdrawalByWeek(17009, "本周您已经申请提现,请勿重复申请"),
    platformWithdrawal(17010, "平台将与三日内处理提现申请,如果遇节假日,将顺延至节假日后,第一个工作日处理"),
    alipayBindfail(17011, "保存支付宝绑定信息失败"),
    alipayCreateFail(17012, "授权失败,请重试"),
    alipayRepeatBind(17013, "请勿重复绑定支付宝"),
    nodisBookingOrderByTime(17014, "司机指定时限,当前时间超时"),
    updateIsNull(17015, "当前无订单时限信息，可更新"),
    moneyTooSmall(17016, "申请金额必须大于0.1,请重新输入"),
    noSuspendOrder(17017, "当前订单不可执行挂起操作"),
    supplierSeparateAccountIsOne(17018, "分账配置,一个城市一个渠道只能存在一条!"),
    stsTemporaryTokenIsNull(17019, "获取OSS中STS的临时令牌失败,请重试"),
    managerInfoExistError(17020, "司管信息每一个城市只能存在一个"),
    assignOrderMsg(17021, "暂无到使用时间未指派订单!"),
    driverPositionIsNull(17022, "为获取到司机位置信息"),
    orderEarlyWarningIsNull(17023, "暂无未正常执行的预约订单数据!"),
    driverNoBandSupplierSeparateAccount(17024, "此司机未进行分账模式绑定,不能执行任务.")
    ,orderNotFound(17025,"当前选择订单不存在"),
    lyServiceError(18000,"注册猎鹰服务失败"),
    noneOffice(18001, "该城市无供应商"),
    ;


    int value;

    String desc;

    EErrorCode(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public EErrorCode setDesc(String desc) {
        this.desc = desc;
        return this;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }

    public String toMessage() {
        String errorMessage = this.value + "," + this.desc;
        return errorMessage;
    }
}
